package com.huaxin.hxmodulesystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "批量分配角色权限请求DTO")
public class AddRolePermissionReqDTO {

    @NotBlank(message = "角色ID不能为空")
    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String roleId;

    @Schema(description = "要分配的权限ID列表")
    private List<String> permissionIds;
}